<?php


/**
 * Model
 */
class App2 extends Psa_Plugin_Model{


	/**
	 * This method only throws Unpermitted_Action_Exception like the user have
	 * insufficient privileges for some action.
	 */
	function unpermitted_action(){
		
		// throw Unpermitted_Action_Exception
		include_once 'examples/example_app2/exception/Unpermitted_Action_Exception.php';
		throw new Unpermitted_Action_Exception("You do not have permission for requested action.");
	}
}
?>